package com.xinjian.jianba.dto;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;

public class UserReportDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2917496779376307712L;
	@Validator(nullable=false,description="举报人id")
	private Long userId;
	@Validator(nullable=false,description="被举报人id")
	private Long relationId;
	@Validator(nullable=false,description="举报内容",minLength=10,maxLength=255)
	private String content;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getRelationId() {
		return relationId;
	}
	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
}
